package fr.gestschool.addUser.view;

import java.util.ArrayList;
import java.util.Collection;

import javax.faces.component.UIInput;
import javax.faces.component.UISelectOne;
import javax.faces.model.SelectItem;

public class AddUserView {
	UIInput login;
	UIInput mdp;
	UISelectOne skin;

	public AddUserView() {
		super();
		this.login = new UIInput();
		this.mdp = new UIInput();
		this.skin = new UISelectOne();
	}
	public UIInput getLogin() {
		return login;
	}
	public void setLogin(UIInput login) {
		this.login = login;
	}
	public UIInput getMdp() {
		return mdp;
	}
	public void setMdp(UIInput mdp) {
		this.mdp = mdp;
	}
	public UISelectOne getSkin() {
		return skin;
	}
	public void setSkin(UISelectOne skin) {
		this.skin = skin;
	}
	
	public Collection getItems() {
		Collection items = new ArrayList();
		
		items.add(new SelectItem("1"));
		items.add(new SelectItem("2"));
		items.add(new SelectItem("3"));
		items.add(new SelectItem("4"));
		
		return items;
	}
}
